env :PATH, ENV['PATH']

job_type :rake,    "cd :path && :environment_variable=:environment /usr/local/rvm/bin/rvm default do bundle exec rake :task --silent :output"
job_type :runner,  "cd :path && bin/rails runner -e :environment ':task' :output"
#
set :chronic_options, hours24: true

set :output, { error: './log/cron_error.log', standard: './log/cron.log' }